@layout("/common/_form.html",{js:["/assets/warehouseMove/warehouseMove_product_init.js"]}){

<form class="layui-form" id="warehouseMoveDetailForm" lay-filter="warehouseMoveDetailForm">
    <div class="layui-row" style="height: 500px">
        <input type="hidden" id="moveNum" name="moveNum" value="${moveNum}"/>
        <div class="layui-fluid" style="height: 400px">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form-item layui-row">
                        <div class="layui-inline">
                            <input id="productId" class="layui-input" type="text" placeholder="商品编码"/>
                        </div>
                        <div class="layui-inline">
                            <input id="productName" class="layui-input" type="text" placeholder="商品名称"/>
                        </div>
                        <div class="layui-inline">
                            <button id="btnSearch" type="button" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索
                            </button>
                        </div>
                    </div>
                </div>
                <table class="layui-table" id="warehouseMoveProductTable" lay-filter="warehouseMoveProductTable"></table>
                <div class="form-group-bottom text-center">
                    <!--<button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>-->
                    <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;关闭页面&emsp;
                    </button>
                </div>
            </div>
        </div>
        <script type="text/html" id="tableBar">
            <a class="layui-btn layui-btn-warm  layui-btn-xs" lay-event="edit">选择移入货架</a>
            <!--<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>-->
        </script>
        <!--//这里是弹出层的表单信息
        //表单的id用于表单的选择，style是在本页隐藏，只有点击编辑才会弹出-->
        <div class="layui-row" id="warehouseMoveProductDlg" style="display:none;">
            <form class="layui-form layui-from-pane" action="" style="margin-top:30px">
                <!--库存数据的id-->
                <input type="hidden" id="stockId" name="stockId">
                <div class="layui-form-item">
                    <label class="layui-form-label">移入仓库货架</label>
                    <div class="layui-input-block">
                        <select name="moveInShelfId" id="moveInShelfId" lay-filter="moveInShelfId"
                                placeholder="请选择移入仓库货架">
                        </select>
                    </div>
                </div>
                <!--<div class="layui-form-item">
                    <label class="layui-form-label">移入数量</label>
                    <div class="layui-input-block">
                        <input type="number" name="moveCount" id="moveCount" required lay-verify="required"
                               autocomplete="off" placeholder="请输入移入数量" class="layui-input">
                    </div>
                </div>-->
                <div class="layui-form-item" style="margin-top:40px">
                    <div class="layui-input-block">
                        <button class="layui-btn  layui-btn-submit " lay-filter="btnSubmit" lay-submit>确认设置</button>
                        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</form>
@}